package com.isoft.filelistener.dao;

import com.isoft.filelistener.entity.DepeDflt;
import com.isoft.filelistener.entity.Meta;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DepeMsgDao {
    @Insert("insert into TEAM_03.DFME_DEPE(SNDR,RCVR,SEQN,DDTM,TYPE,STYP,FLID,FATT,FFID,FIDE" +
            ",STAT,ISTA,MSTA,MIST,FRTT) VALUES(#{meta.sndr},#{meta.rcvr},#{meta.seqn}," +
            "#{meta.ddtm},#{meta.type},#{meta.styp},#{dflt.flid},#{dflt.fatt}," +
            "#{dflt.ffid},#{dflt.fide},#{dflt.stat},#{dflt.ista},#{dflt.msta},#{dflt.mist},#{dflt.frtt})")
    public int  insertdepe (@Param("meta") Meta meta, @Param("dflt") DepeDflt dflt);
}